package com.dayu.tcp.common.encrypt;

import java.nio.charset.Charset;

public interface Encrypt {

    byte[] encrypt(byte[] src);

    byte[] decrypt(byte[] src);

    String encrypt(String src, Charset charset);

    String decrypt(String src, Charset charset);
}
